package se.webbzon.boltzmann.editor.factory.propertyframe;

import se.webbzon.boltzmann.editor.mvc.EditorModel;
import se.webbzon.boltzmann.editor.propertyframe.WorldObjectPropertyFrame;
import se.webbzon.boltzmann.editor.propertyframe.WorldStaticObjectPropertyFrame;
import se.webbzon.boltzmann.game.object.platform.PlatformShadow;
import se.webbzon.oschi01.worldobject.WorldObject;
import se.webbzon.oschi01.worldobject.WorldStaticObject;

public class PlatformShadowPropertyFrameFactory implements PropertyFrameFactory {

	@Override public String getWorldObjectName() {
		return PlatformShadow.worldObjectName;
	}

	@Override public WorldObjectPropertyFrame makePropertyFrame(EditorModel model,
			WorldObject instance) {
		return new WorldStaticObjectPropertyFrame(model, (WorldStaticObject) instance) {};
	}

}
